package com.mdd.admin.service.yylq;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.yylq.TAppEnterpriseCreditRepairCreateValidate;
import com.mdd.admin.validate.yylq.TAppEnterpriseCreditRepairSearchValidate;
import com.mdd.admin.validate.yylq.TAppEnterpriseCreditRepairUpdateValidate;
import com.mdd.admin.vo.yylq.TAppEnterpriseCreditRepairDetailVo;
import com.mdd.admin.vo.yylq.TAppEnterpriseCreditRepairListedVo;
import com.mdd.common.core.PageResult;

/**
 * 企业信用修复服务接口类
 * @author LikeAdmin
 */
public interface ITAppEnterpriseCreditRepairService {

    /**
     * 企业信用修复列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<TAppEnterpriseCreditRepairListedVo>
     */
    PageResult<TAppEnterpriseCreditRepairListedVo> list(PageValidate pageValidate, TAppEnterpriseCreditRepairSearchValidate searchValidate);

    /**
     * 企业信用修复详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return TAppEnterpriseCreditRepairDetailVo
     */
    TAppEnterpriseCreditRepairDetailVo detail(Integer id);

    /**
     * 企业信用修复新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(TAppEnterpriseCreditRepairCreateValidate createValidate);

    /**
     * 企业信用修复编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(TAppEnterpriseCreditRepairUpdateValidate updateValidate);

    /**
     * 企业信用修复删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

}
